import type { CategoryTopItem } from '@/types/category'
import { http } from '@/utils/http'
export const useCategoryApi = () => {
    return {
        getCategory: () => {
            return http<CategoryTopItem[]>({
                method:'GET',
                url:'/category/top'
            })
        }
    }
} 